package org.example.StudentManagementSystem.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "班级信息的数据传输对象")
@Setter
@Getter
public class ClassDTO {
    @Schema(description = "班级ID", example = "1")
    private Integer id;

    @Schema(description = "班级名称", example = "计算机科学与技术")
    private String name;

    @Schema(description = "教师ID", example = "101")
    private Integer teacherId;

    @Schema(description = "教师名称", example = "张老师")
    private String teacherName;
}
